package com.pgeg.mixin.config;

import com.pgeg.config.ModConfig;
import net.minecraft.world.dimension.DimensionType;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;

@Mixin(DimensionType.class)
public class DimensionTypeMixin {

    /**
     * @author wdog5
     * @reason For Config
     */
    @Overwrite
    public boolean isUltrawarm() {
        return ModConfig.enableWaterBucket;
    }
}
